package com.changgou.search.service;

import com.changgou.goods.pojo.Sku;
import com.fasterxml.jackson.databind.ObjectMapper;

import java.util.List;
import java.util.Map;

public interface SkuInfoService {


    /**
     * 将数据库数据写入到索引库中
     */
    void importSkuInfoToes();

    /**
     * 检索
     * @param searchMap
     * @return
     */
    Map<String, Object> search(Map<String, String> searchMap);

}
